package com.jinxiangyang.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jinxiangyang.domain.Notice;
import com.jinxiangyang.domain.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jinxiangyang.domain.vo.CourseSaleVo;
import com.jinxiangyang.domain.vo.CourseSalesVo;
import com.jinxiangyang.domain.vo.OrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单表 订单表 Mapper 接口
 * </p>
 *
 * @author jinxiangyang
 * @since 2023-08-12
 */
@Mapper
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {


    public List<OrderVo> getOrderByPage(Page page, @Param("orderVo") OrderVo orderVo);

    List<CourseSaleVo> getCourseSale();

    List<CourseSalesVo> getCourseSales();
}
